libxl: Fix building libxlu_cfg_y.y with bison 3.0
authorEd Swierk <eswierk@skyportsystems.com>
Tue, 6 Jan 2015 15:21:07 +0000 (15:21 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 6 Jan 2015 15:28:17 +0000 (15:28 +0000)
commit7ba4cdfadd4f3c45d65ffe50e621759f458fedc0
treedd8c3c2251848e3eb2dc7dda4498d118c5f68433
parent3bd8559e5e3f406fa4159e12cdd1323c62f4eac8
libxl: Fix building libxlu_cfg_y.y with bison 3.0

- Use %lex-param instead of obsolete YYLEX_PARAM to override lex scanner
  parameter
- Change deprecated %name-prefix= to %name-prefix

Tested against bison 2.4.1 and 3.0.2.

This is expected to sometimes (depending on timestamps and whether the
bison input files are edited) break building on systems with ancient
versions of bison.  Bison 2.4.1 is known to work and was released in
December 2008.

Also, consquentially, regenerate bison output files with bison
1:2.5.dfsg-2.1 from Debian wheezy.

Signed-off-by: Ed Swierk <eswierk@skyportsystems.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Tested-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Release-Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
tools/libxl/libxlu_cfg_y.c
tools/libxl/libxlu_cfg_y.y